#编写一个函数，求多个数中的最大值
def max_number(*number):
    big_number = number[0]
    for i in range(1,len(number)):
        if number[i] >= big_number:
           big_number = number[i]
    print(big_number)
max_number(1,2,3,4,5,6,7,5,636,1)

# def max_number(*numbers):
#     if not numbers:
#         print("没有输入任何数")
#         return None
#
#     big_number = numbers[0]
#
#     for i in range(1, len(numbers)):
#         if numbers[i] > big_number:
#             big_number = numbers[i]
#
#     print("最大值:", big_number)
#
# max_number(1, 2, 3, 4, 5, 6, 7)
